//
//  Customer_HelpCenter.m
//  XJMCustomer
//
//  Created by 洗脚么_one on 2017/11/1.
//  Copyright © 2017年 Mr.hu. All rights reserved.
//

#import "Customer_HelpCenter.h"
#import <WebKit/WebKit.h>
#import "AdviceFeedBackVC.h"

@interface Customer_HelpCenter ()<WKUIDelegate,WKNavigationDelegate>
@property (strong, nonatomic) WKWebView * webViwe;

@end

@implementation Customer_HelpCenter

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self.navigationController setNavigationBarHidden:NO];
    self.title = @"帮助中心";
    self.webViwe = [[WKWebView alloc]initWithFrame:CGRectMake(0, 0, ScreenWidth, ScreenHeight-66)];
    self.webViwe.navigationDelegate =self;
    
    NSURLRequest * request =[[NSURLRequest alloc]initWithURL:[NSURL URLWithString:@"http://api.xijiaomo.com/tech.php/help/wap?source=user"]];
    [self.webViwe loadRequest:request];
    
    [self.view addSubview:self.webViwe];
}

- (void)AdviceBackInformationMeth{
    AdviceFeedBackVC * advieceback = [[AdviceFeedBackVC alloc]init];
    [self.navigationController pushViewController:advieceback animated:NO];
}

@end
